<template>
  <div class="s-menu">
    <!-- 章节 -->
    <div class="chapter">
      <div class="chapter-top">
        <h3 class="chapter-top-h">第一章 集合与常用逻辑用语</h3>
        <span class="num">21</span>
        <span class="sm-word">知识点</span>
        <span>|</span>
        <span class="num">2320</span>
        <span class="sm-word">试题</span>
        <a href>随机来15道题</a>
      </div>
      <div class="chapter-top-t">
        <h3 class="chapter-top-t-h">1 集合的概念及运算</h3>
        <span>1184试题</span>
        <a href>随机来10道题 ></a>
      </div>
      <div class="chapter-body">
        <div>
          <h5>1.1集合的定义</h5>
          <span class="span1">534</span>
          <span>道题</span>
        </div>
        <div>
          <h5>1.1集合的定义</h5>
          <span class="span1">534</span>
          <span>道题</span>
        </div>
        <div>
          <h5>1.1集合的定义</h5>
          <span class="span1">534</span>
          <span>道题</span>
        </div>
        <div>
          <h5>1.1集合的定义</h5>
          <span class="span1">534</span>
          <span>道题</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
.chapter-top {
  height: 50px;
  border-bottom: 1px solid #f0f0f0;
}

.chapter-top-h {
  line-height: 2px;
  margin-left: 9px;
  margin-right: 268px;
  font-size: 16px;
  font-weight: 700;
  float: left;
  color: #000;
}

.chapter-top > span {
  display: inline-block;
  float: left;
  line-height: 34px;
  font-size: 14px;
  color: #333333;
}

.chapter-top .num {
  color: #db5757;
  margin-right: 4px;
  margin-left: 19px;
}

.chapter-top .sm-word {
  margin-right: 18px;
}

.chapter-top > a {
  display: inline-block;
  width: 119px;
  height: 38px;
  line-height: 41px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  color: #333333;
  border: 1px solid #cccccc;
}

.chapter-top > a:hover {
  display: inline-block;
  width: 121px;
  height: 40px;
  line-height: 43px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  color: #ffffff;
  border: 0px solid #cccccc;
  background-color: #12b298;
}

.chapter-top-t {
  height: 43px;
  margin-top: 5px;
}

.chapter-top-t-h {
  float: left;
  line-height: 27px;
  margin-left: 9px;
  margin-right: 30px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.chapter-top-t > span {
  float: left;
  display: inline-block;
  line-height: 60px;
  font-size: 13px;
  color: #666666;
}

.chapter-top-t > a {
  display: inline-block;
  width: 119px;
  height: 38px;
  line-height: 65px;
  float: right;
  text-decoration: none;
  font-size: 15px;
  color: #333333;
}

.chapter-top-t > a:hover {
  color: #11a68d;
}

.chapter-body {
  width: 100%;
  height: 1000px;
  margin-top: 22px;
  background-color: pink;
}

.chapter-body > div {
  float: left;
  width: 250px;
  height: 125px;
  margin-right: 19px;
  margin-bottom: 20px;
  border: 1px solid #ebebeb;
  background-color: #f5f5f5;
  box-sizing: border-box;
}

.chapter-body > div > h5 {
  font-size: 16px;
  margin-top: 40px;
  margin-left: 38px;
  font-size: 14px;
  /* font-family: Microsoft YaHei; */
  color: #333333;
  /* text-align: center; */
  /* height: 40px; */
}

.chapter-body > div .span1 {
  font-size: 16px;
  margin-left: 38px;
  margin-right: 5px;
  font-size: 14px;
  color: #d95757;
}
</style>